package com.yunjing.elasticjob.service;

import com.yunjing.elasticjob.entity.JobConfig;
import org.quartz.Job;

/**
 * @author zhiqi.shao
 * @Date 2018/6/14 9:57
 */
public interface JobService {

    /**
     * 刷新job配置信息
     * @param jobConfig 任务配置
     */
    boolean putJob(JobConfig jobConfig , Class<? extends Job> jobClass);
}
